<template>
  <div class="detail">
    <TableHeader />
    <Tabs />
  </div>
</template>
<script lang="ts" setup>
import { onMounted, provide, onBeforeUnmount } from "vue";
import Tabs from "./tabs.vue";
import TableHeader from "./tableHeader.vue";
import { useAlarm } from "@/store/backend/DeviceM/alarm";
import { useNavTabs } from "@/store/navTabs";

const alarm = useAlarm();
const navTabs = useNavTabs();

onMounted(() => {});

provide("alarm", alarm);
provide("navTabs", navTabs);

//离开前 轮询结束
onBeforeUnmount(() => {});
</script>
<style lang="scss" scoped></style>
